#ifndef RAY_H
#define RAY_H
#include "vector.h"
#include "point.h"

class Ray
{
public:
    Ray(const Point &source, const Vector &direction);
    Ray(const Ray &r);

    Ray& operator=(const Ray &r);
    const Point& source() const;
    const Vector& dir() const;

private:
    Point source_;
    Vector dir_;
};

#endif // RAY_H
